<?php require_once('../classes/class.mysql.admin.php'); ?>
<ul class="menulist" id="listMenuRoot">

<?php if($_SESSION['session_cms_user_level']==1){?>
	<li class="<?php echo ($_SESSION['session_active_page'] == "Website Setting") ? 'active' : '' ?>"><a href="siteview.php?id=1&mode=edit&title=<?=urlencode("Website Setting")?>" style="border-top:none;">Website Setting</a></li>

    <li class="<?php echo ($_SESSION['session_active_page'] == "User") ? 'active' : '' ?>"><a href="userlist.php?mode=list&cmd=resetall&title=<?=urlencode("User")?>">User</a></li>
 

<?php } ?>	

	<li class="<?php echo ($_SESSION['session_active_page'] == "Banner") ? 'active' : '' ?>"><a<?php if(!IsSysAdmin()) echo ' style="border-top:none;"'?> href="bannerlist.php?cmd=resetall&mode=list&title=<?=urlencode("Banner")?>">Banner</a></li>
	
	<li class="<?php echo ($_SESSION['session_active_page'] == "Tentang Saya") ? 'active' : '' ?>"><a href="pageview.php?id=1&mode=edit&title=<?=urlencode("Tentang Saya")?>">Tentang Saya</a></li>
    
    <li class="<?php echo ($_SESSION['session_active_page'] == "Apa itu S. Lutena ?") ? 'active' : '' ?>"><a href="pageview.php?id=4&mode=edit&title=<?=urlencode("Apa itu S. Lutena ?")?>">Apa itu S. Lutena ?</a></li>
    
    <li class="<?php echo ($_SESSION['session_active_page'] == "Manfaat S. Lutena") ? 'active' : '' ?>"><a href="pageview.php?id=2&mode=edit&title=<?=urlencode("Manfaat S. Lutena")?>">Manfaat S. Lutena</a></li>
    
    <li class="<?php echo ($_SESSION['session_active_page'] == "Harga S. Lutena") ? 'active' : '' ?>"><a href="pageview.php?id=3&mode=edit&title=<?=urlencode("Harga S. Lutena")?>">Harga S. Lutena</a></li>
    
    <li class="<?php echo ($_SESSION['session_active_page'] == "Cara Pesan") ? 'active' : '' ?>"><a href="pageview.php?id=5&mode=edit&title=<?=urlencode("Cara Pesan")?>">Cara Pesan</a></li>    
        
    <li class="<?php echo ($_SESSION['session_active_page'] == "Artikel") ? 'active' : '' ?>"><a href="articlelist.php?cmd=resetall&mode=list&title=<?=urlencode("Artikel")?>">Artikel</a></li> 
    
    <li class="<?php echo ($_SESSION['session_active_page'] == "Kotak Pesan") ? 'active' : '' ?>"><a href="kontaklist.php?cmd=resetall&mode=list&title=<?=urlencode("Kotak Pesan")?>">Kotak Pesan</a></li>
	
	<li class="<?php echo ($_SESSION['session_active_page'] == "Ganti Password") ? 'active' : '' ?>"><a href="changepwd.php?title=<?=urlencode("Ganti Password")?>">Ganti Password</a></li>	
	<li><a href="logout.php" style="border-bottom:none;">Logout</a></li>		
</ul>